import request from '@/utils/request'

// 查询票面日期列表
export function listTicketDate(query) {
  return request({
    url: '/st/ticketDate/list',
    method: 'get',
    params: query
  })
}

// 查询票面日期详细
export function getTicketDate(id) {
  return request({
    url: '/st/ticketDate/' + id,
    method: 'get'
  })
}

// 新增票面日期
export function addTicketDate(data) {
  return request({
    url: '/st/ticketDate',
    method: 'post',
    data: data
  })
}

// 修改票面日期
export function updateTicketDate(data) {
  return request({
    url: '/st/ticketDate',
    method: 'put',
    data: data
  })
}

// 删除票面日期
export function delTicketDate(id) {
  return request({
    url: '/st/ticketDate/' + id,
    method: 'delete'
  })
}
